package com.sai.open.mrp;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.List;
import java.util.ArrayList;


public class MopoConst {
    public static final String RootDir = "mythroad";
    public static List<MrpDef> mrpInfo = new ArrayList<MrpDef>();

    static {
        mrpInfo.add(new MrpDef("sanguo.mrp", "sanguo.mrp_99584_2_0", "幻想三国"));
        mrpInfo.add(new MrpDef("zsol.mrp", "zsol.mrp_124714_2_0", "战神OL"));
        mrpInfo.add(new MrpDef("tlbb.mrp", "tlbb.mrp_124928_2_0", "天龙八部"));
        mrpInfo.add(new MrpDef("wxjwq.mrp", "wxjwq.mrp_124352_2_0", "仙剑问情"));
        mrpInfo.add(new MrpDef("xyol.mrp", "xyol.mrp_124336_2_0", "西游记"));
        mrpInfo.add(new MrpDef("yxlm.mrp", "yxlm.mrp_124832_2_0", "英雄联盟"));
		mrpInfo.add(new MrpDef("gcsjol.mrp", "gcsjol.mrp_125408_2_0", "苍神劫"));
        mrpInfo.add(new MrpDef("xlsbb.mrp", "xlsbb.mrp_125168_2_0", "降龙十八掌"));
		mrpInfo.add(new MrpDef("charge.mrp", "charge.mrp_68352_3_0", "指易付"));
		mrpInfo.add(new MrpDef("xaqd.mrp", "xaqd.mrp_125152_2_0", "笑傲江湖"));
        mrpInfo.add(new MrpDef("ajss.mrp", "ajss.mrp_124208_2_0", "傲剑OL"));
        mrpInfo.add(new MrpDef("sgmj.mrp", "sgmj.mrp_125280_2_0", "风流三国"));
        mrpInfo.add(new MrpDef("moli.mrp", "moli.mrp_115200_2_0", "魔力世纪"));
        mrpInfo.add(new MrpDef("gkdxy.mrp", "gkdxy.mrp_125376_2_0", "口袋西游"));
        mrpInfo.add(new MrpDef("ssjx.mrp", "ssjx.mrp_123968_2_0", "蜀山剑侠OL"));
        mrpInfo.add(new MrpDef("cwammo.mrp", "cwammo.mrp_124048_2_0", "三国群雄传"));
        mrpInfo.add(new MrpDef("xqj.mrp", "xqj.mrp_123456_2_0", "寻秦"));
    }

    public static String getMrpShowName(String str) {
        for(int i=0; i<mrpInfo.size(); i++){
			if(str.equals(mrpInfo.get(i).filename))
				return mrpInfo.get(i).showname;
		}
        return null;
    }

    public static String getMrpStartEntry(String str) {
        for(int i=0; i<mrpInfo.size(); i++){
			if(str.equals(mrpInfo.get(i).filename))
				return mrpInfo.get(i).entry;
		}
        return null;
    }
}

